<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>01-模版语法</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <div v-if="isIf">动态创建</div>
        <div v-show="isShow">是否展示节点</div>
    </div>
</body>
<script type="text/javascript">
    let view = new Vue({
        el:"#app",
        data:{
            isShow:true,
            isIf:true,
        }
    });
</script>
</html>